package pers.cj.pdos.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 
 * </p>
 *
 * @author chenj
 * @since 2020-04-10
 */
public class RefundPacket extends Model<RefundPacket> {

    private static final long serialVersionUID = 1L;

    private String id;

    /**
     * 退货单id
     */
    private String refundId;

    /**
     * 对应销售套餐表id
     */
    private String salePacketId;

    /**
     * 套餐id
     */
    private String packetId;

    /**
     * 套餐名
     */
    private String packetNo;

    /**
     * 套餐价
     */
    private String packetName;

    /**
     * 商品数量
     */
    private BigDecimal number;

    /**
     * 商品单价
     */
    private BigDecimal price;

    /**
     * 金额
     */
    private BigDecimal amount;

    /**
     * 税额
     */
    private BigDecimal tax;

    /**
     * 备注
     */
    private String remark;

    private String companyId;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getRefundId() {
        return refundId;
    }

    public void setRefundId(String refundId) {
        this.refundId = refundId;
    }
    public String getSalePacketId() {
        return salePacketId;
    }

    public void setSalePacketId(String salePacketId) {
        this.salePacketId = salePacketId;
    }
    public String getPacketId() {
        return packetId;
    }

    public void setPacketId(String packetId) {
        this.packetId = packetId;
    }
    public String getPacketNo() {
        return packetNo;
    }

    public void setPacketNo(String packetNo) {
        this.packetNo = packetNo;
    }
    public String getPacketName() {
        return packetName;
    }

    public void setPacketName(String packetName) {
        this.packetName = packetName;
    }
    public BigDecimal getNumber() {
        return number;
    }

    public void setNumber(BigDecimal number) {
        this.number = number;
    }
    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }
    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }
    public BigDecimal getTax() {
        return tax;
    }

    public void setTax(BigDecimal tax) {
        this.tax = tax;
    }
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "RefundPacket{" +
            "id=" + id +
            ", refundId=" + refundId +
            ", salePacketId=" + salePacketId +
            ", packetId=" + packetId +
            ", packetNo=" + packetNo +
            ", packetName=" + packetName +
            ", number=" + number +
            ", price=" + price +
            ", amount=" + amount +
            ", tax=" + tax +
            ", remark=" + remark +
            ", companyId=" + companyId +
        "}";
    }
}
